<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>canvas</title>
    <style>
      * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
      }
      canvas {
        display: block;
        margin: 1em auto;
        border: 2px solid #000;
      }
      p {
        text-align: center;
      }
    </style>
  </head>
  <body>
    <p>
      <input type="color" />
    </p>
    <canvas></canvas>

    <script src="./canvasD.js" type="text/javascript"></script>
  </body>
</html>
